<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <body>

        <ui:composition>

            <div id="post">

                <div id="stylized" class="questao">


                    <h3>Relatório de Questaos Cadastradas</h3>

                    <c:set var="questaoTemp" value="#{QuestaoController.questaoAux}" />

                    <ui:include src="../questao/questaoView.xhtml" id="questaoView" />

                    <h3>Conteudos</h3>
                    <ul>
                        <ui:repeat value="#{QuestaoProfessorController.conteudosDaQuestao}" var="conteudoTemp" >
                            <li><h:outputText value="#{conteudoTemp.conteudo}" /><br /></li>
                        </ui:repeat>
                    </ul>


                    <!--<h:commandButton styleClass="button" action="{PageManager.setPageQuestaoCad}" value="Novo" />-->
                    <h:commandButton styleClass="button" action="#{QuestaoController.editButton}" value="Editar" />
                    <h:commandButton styleClass="button" action="#{QuestaoController.destroyButton}" value="Excluir" />


                </div>
            </div>


        </ui:composition>

    </body>
</html>
